home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / comm / comm2 / hdrbbs11.lha / HBBS / Nodes / NODE2 / Device < prev    next >
Text File  |  1996-10-31  |  6KB  |  167 lines

  1. ;$HBBS
  2. ; Filename: Device
  3. : Location: Nodes/NodeX/
  4. ; Purpose: settings for modem
  5.  
  6. ; if this file is missing from a node directory the bbs software will assume
  7. ; the node is a sysop local node.
  8.  
  9. ; We hope the modem configuration options are complete enough for all sysops.
  10. ; the modem settings are normally a real pain to get right on other bbs systems
  11. ; so we have tried to make this VERY configurable.
  12. ; if you would like to see a new feature added to this then PLEASE CONTACT US
  13. ; IMMEDIATLY and we will do are very best to implement it as soon as we can!
  14.  
  15. ; Note: most of the setting in this config file should work with all 100% hayes
  16. ; compatiable modems, but there is bound to be one make of modem that might
  17. ; not support the defaults in this file,  in anycase, please check these
  18. ; settings with the manual for your modem just in case.
  19.  
  20. ; We recommend you use USRobotics/Miracom modems with this bbs software
  21. ; as they are extremly good and reliable modems.
  22.  
  23. ;******************************************************************************
  24.  
  25. ; serial device driver to use for the node, usually just serial.device
  26. ; note that this command is case sensitive.
  27.  
  28. ; we recommened you that you use USRSerial.device for usrobotics modems
  29. ; and BaudBandit.device for other modems,  these serial drivers are more
  30. ; streamlined, efficent and use less CPU time than the standard C= one.
  31.  
  32. DeviceName=Null Modem
  33.  
  34. SerialDevice=serial.device
  35. SerialUnit=0
  36. SerialBaud=57600
  37. ;SerialDevice=nullmodem.device
  38. ;SerialUnit=4
  39. ;SerialBaud=38400
  40.  
  41. NullModemCable=TRUE
  42.  
  43. ; now, the following option, if enabled, will make the node open a small window
  44. ; on it's screen into which you will see all commands sent to the modem and
  45. ; all responces received back from it  you can also have these saved to a log
  46. ; file by enabling the ModemLog option (below)
  47. ; (note that clicking the "ModemDebug" button and on a node button from the
  48. ; gui will override this setting for as long as the node is active)
  49.  
  50. ModemDebug=ON
  51.  
  52. ; If enabled all input and output from the modem will be saved in a time and
  53. ; datestamped file (see BBS:Nodes/NodeX/NodeLocal file, option
  54. ; ModemLogFile= setting)
  55.  
  56. ModemLog=OFF
  57.  
  58. ; number of retries the software will make before resending the TurnEchoOn
  59. ; string (below)
  60.  
  61. EchoRetries=4
  62.  
  63. ; number of retries the software will make AFTER the echo retries (above) before
  64. ; the serial device driver is closed and reopened.
  65.  
  66. ReOpenRetries=2
  67.  
  68. ; time to wait after closing the serial device before reopening it.
  69.  
  70. ReOpenDelay=60 ; 60 per second
  71.  
  72. ; to recap using the 3 defaults above,  The node will retry the command 4 times,
  73. ; then it will send the TurnEchoOn string to the modem, it will then retry to more
  74. ; times and if it still fails it will close the serial device and reopen it
  75. ; after 120 milli seconds.
  76.  
  77. ; using the above three settings we can pretty much cope for any strange error
  78. ; that might cause a modem to lockup.  Obviously if the modem has totally locked
  79. ; up and does not respond at all someone will still have to powercycle the modem
  80. ; by hand.
  81.  
  82. ; Now comes a really great feature,  if the modem does lockup totally (see above)
  83. ; the following script will be run.  So in theroy you could have a little
  84. ; IO device on you parallel port connected to the power of your modem (via a
  85. ; relay or something) that could actually turn the modem off and on again!!
  86. ; now how's that for failsafe bbs lockup protection!! :-)
  87.  
  88. LockUpScript=HBBS:Scripts/Lockup.scr
  89.  
  90. ; max time to wait before OK or ERROR is received from the modem.
  91.  
  92. MaxCommandWait=120 ; 60 per second...
  93. CommandReTrIeS=3
  94.  
  95. ; delay to wait before sending another command after OK is received.
  96. ; normally set this to about 5 or so.
  97.  
  98. DelayBetweenCommands=5 ; 60 per second...
  99.  
  100. ; specifies how long the software should wait before sending another
  101. ; character to the modem
  102.  
  103. TildeDelay=30
  104.  
  105. ; Also note that the Local Echo Should Be Turned ON, unlike most bbs software
  106. ; this software checks that the modem is actually receving the commands
  107. ; that you want to send to it.
  108.  
  109. ; the following command is send to the modem as soon as the serial device driver
  110. ; is opened, note that the bbs software WILL NOT verify that this command
  111. ; has been sent as the modem's local echo setting may be off so we cannot
  112. ; check for the characters coming back from the serial port until this
  113. ; command has been completed,  also make sure that the modem is setup so that
  114. ; when a command completed it returns either OK or ERROR rather than a numerical
  115. ; result code
  116.  
  117. TurnOnEcho_1=AT
  118.  
  119.  
  120. ; Modem INIT's get sent when the node is started, a user logs off and
  121. ; when the node is reset.
  122.  
  123. ; below are the preferred defaults, this bbs software lets the modem answer
  124. ; the call itself using its own auto answer method, so make sure auto answer
  125. ; is set to ON in the init string.  Normal Hayes Compatable modems use the S0
  126. ; register to set auto answer, it's best to make the modem answer after 2 or 3
  127. ; rings, to give those people going through some sort of international gateway
  128. ; or operator to put the modem on after they have finished speaking to an operator
  129.  
  130.  
  131. ModemInit_1=AT
  132.  
  133. ; for determining when a connection has been made the following methods are used
  134. ; the first is the strict connect method, the connect string received from the
  135. ; modem MUST match letter for letter to one of the strings defined in the
  136. ; StrictConnect.x= parameters.
  137. ; the second method is what we would normally use and that method is as follows.
  138. ; when a string is recevied from the modem it is searched for the word
  139. ; defined in RelaxedConnect and if that word is found the connection starts
  140.  
  141. StrictConnect=OFF
  142. StrictConnectStr_1=CONNECT 9600
  143. StrictConnectStr_2=CONNECT 12000
  144. StrictConnectStr_3=CONNECT 14400
  145. StrictConnectStr_4=CONNECT 16800
  146.  
  147. RelaxedConnectStr_1=CONNECT
  148.  
  149. ; Command sent to modem to put the modem in command mode while still on-line.
  150. ; Note: command is not checked when sent to modem
  151.  
  152. CommandModeString_1=~~~+++~~~
  153.  
  154. ; string sent to modem to enforce a hang up.
  155.  
  156. HangUpString=AT
  157.  
  158. ; string sent to modem to make it go off-hook.  This is sent after a carrier loss
  159. ; and when a user is logging off after the CommandModeString has been sent to
  160. ; the modem
  161.  
  162. OffHookString=AT
  163.  
  164. DropDTRHangup=TRUE
  165.  
  166. ImmediateAnswer=ATA
  167.